/**
 * Created by camiez on 2017/5/7.
 */
'use strict';
const frontendrender = {};
const db = require('../../mysql.js');

frontendrender.renderIndex = function (req,res,next) {
    res.render('home');
}
frontendrender.renderNewbllboard = function (req,res,next) {
    res.render('newbllboard');
}
frontendrender.renderFinishbllboard = function (req,res,next) {
    res.render('finishbllboard');
}
frontendrender.renderStorebllboard = function (req,res,next) {
    res.render('storebllboard');
}
frontendrender.renderClassify = function (req,res,next) {
    res.render('classify');
}
frontendrender.renderNewclick = function (req,res,next) {
    res.render('newclick');
}
frontendrender.renderFinishclick = function (req,res,next) {
    res.render('finishclick');
}
frontendrender.renderStoreclick = function (req,res,next) {
    res.render('storeclick');
}
frontendrender.renderBookshop = function (req,res,next) {
    res.render('bookshop');
}
frontendrender.renderSearch = function (req,res,next) {
    res.render('search');
}
frontendrender.renderPersonal = function (req,res,next) {
    res.render('personal');
}
frontendrender.renderLogin = function (req,res,next) {
    res.render('login');
}
frontendrender.renderRegister = function (req,res,next) {
    res.render('register');
}
frontendrender.renderClassifydetail = function (req,res,next) {
    res.render('classifydetail');
}
frontendrender.renderNoveldetail = function (req,res,next) {
    res.render('noveldetail');
}
frontendrender.renderNovelcatalog = function (req,res,next) {
    res.render('novelcatalog');
}
frontendrender.renderReadnovel = function (req,res,next) {
    res.render('readnovel');
}
frontendrender.renderWritecomment = function (req,res,next) {
    res.render('writecomment');
}
frontendrender.renderCommentform = function (req,res,next) {
    res.render('commentform');
}
frontendrender.renderMyshare = function (req,res,next) {
    res.render('myshare');
}

module.exports = frontendrender;